using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class BsKnifeusedetailTable : TableInfo
{
public const string C_TABLENAME = "Bs_Knifeusedetail";

public const string C_DETAILID = "DETAILID";

public const string C_BILLID = "BILLID";

public const string C_BOMID = "BOMID";

public const string C_BOMDETAILID = "BOMDETAILID";

public const string C_NUMS = "NUMS";

public const string C_RETURNDATE = "RETURNDATE";

public const string C_RETURNUSERID = "RETURNUSERID";

public const string C_KNIFEID = "KNIFEID";

public BsKnifeusedetailTable()
{
_tableName = "Bs_Knifeusedetail";
}

protected static BsKnifeusedetailTable _current;
public static BsKnifeusedetailTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new BsKnifeusedetailTable();

_current.Add(C_DETAILID, new ColumnInfo(C_DETAILID, "", true, typeof(Decimal?)));

_current.Add(C_BILLID, new ColumnInfo(C_BILLID, "", false, typeof(String)));

_current.Add(C_BOMID, new ColumnInfo(C_BOMID, "", false, typeof(String)));

_current.Add(C_BOMDETAILID, new ColumnInfo(C_BOMDETAILID, "", false, typeof(Decimal?)));

_current.Add(C_NUMS, new ColumnInfo(C_NUMS, "", false, typeof(Decimal?)));

_current.Add(C_RETURNDATE, new ColumnInfo(C_RETURNDATE, "", false, typeof(DateTime?)));

_current.Add(C_RETURNUSERID, new ColumnInfo(C_RETURNUSERID, "", false, typeof(String)));

_current.Add(C_KNIFEID, new ColumnInfo(C_KNIFEID, "", false, typeof(String)));

}

public ColumnInfo DETAILID
{
get { return this[C_DETAILID]; }
}

public ColumnInfo BILLID
{
get { return this[C_BILLID]; }
}

public ColumnInfo BOMID
{
get { return this[C_BOMID]; }
}

public ColumnInfo BOMDETAILID
{
get { return this[C_BOMDETAILID]; }
}

public ColumnInfo NUMS
{
get { return this[C_NUMS]; }
}

public ColumnInfo RETURNDATE
{
get { return this[C_RETURNDATE]; }
}

public ColumnInfo RETURNUSERID
{
get { return this[C_RETURNUSERID]; }
}

public ColumnInfo KNIFEID
{
get { return this[C_KNIFEID]; }
}

}
}